//
//  MPButton.m
//  QAPro
//
//  Created by Hyukooooh on 2024/4/19.
//

#import "QAButton.h"
#import "UIImage+QAExtension.h"
@implementation QAButton

- (instancetype)init
{
    self = [super init];
    if (self) {
        [self setBackgroundImage:[UIImage imageWithColor:UIColor.main_Color] forState:(UIControlStateNormal)];
        [self setBackgroundImage:[[UIImage imageWithColor:UIColor.main_Color]imageByApplyingAlpha:0.7] forState:(UIControlStateHighlighted)];
        [self setBackgroundImage:[[UIImage imageWithColor:UIColor.main_Color]imageByApplyingAlpha:0.3] forState:(UIControlStateDisabled)];
    }
    return self;
}
@end
